package mest.service.cxj.impl;


import mest.dao.cxj.ModelingDictionariesDao;
import mest.entity.modeling_dictionaries;
import mest.service.cxj.ModelingDictionariesService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ModelingDictionariesServiceImpl implements ModelingDictionariesService {

    @Resource
    private ModelingDictionariesDao modelingDictionariesDao;


    @Override
    public modeling_dictionaries selectModelingDictionaries(String theirDb) {
        return modelingDictionariesDao.selectModelingDictionaries(theirDb);
    }

    @Override
    public int updateByPrimaryKeySelective(modeling_dictionaries modelingdictionaries) {
        return modelingDictionariesDao.updateByPrimaryKeySelective(modelingdictionaries);
    }


    @Override
    public void updateModelingDictionariesByWorkNo(String theirDb) {
        modelingDictionariesDao.updateModelingDictionariesByWorkNo(theirDb);
    }

    @Override
    public void updateModelingDictionariesByWorkRouteNo(String theirDb) {
        modelingDictionariesDao.updateModelingDictionariesByWorkRouteNo(theirDb);
    }

    @Override
    public void updateModelingDictionariesByModelFileNo(String theirDb) {
        modelingDictionariesDao.updateModelingDictionariesByModelFileNo(theirDb);
    }
}
